`select distinct substring(teerth_name,6,1) from teerth order by substring(teerth_name,6,1) asc,tirthankars where teerth.tirthankar_id=tirthankars.tirthankar_id and tirthankars.tirthankar_name='Nami natha'