Select HTML updation on sorting fixed. that was caused as bug in the previous commit