added default sort functionality in case geopermission is not granted