bug fixes and implementation of deal sort based on likes and shares