I have a Members Table having a column name as "MemberId", which is of varchar2 datatype. The MemberIds contained in the Table generally are "1NRM", "2NRM","3NRM" and so on. Now when I sort the Table on MemberId, the sorting output comes as "1NRM","10NRM","10JDR","100NRM","101NRM","102NRM","1000NRM" and so on. I want the output to be sorted sequentially as "1NRM","2NRM","3NRM","3OST" and so on. How is it possible with a single SQL Statement using functions?
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------