resolved reverse sorting for location