Fixed bug with sorting altnumber