Array ( [id] => how-to-sort-data-according-to-an-arranged-data-list-in-mysql ) Undefined index: location