CC-5450 : Refactor Media Management (Classes/DB) in Airtime

fixed column sorting problem
CC-5450 : Refactor Media Management (Classes/DB) in Airtime

working on new query for prev/current/next