Finishing table sorting according to it's attributes

Issue #93 
@osherifo @Zaatar @karim-elbawab  @MennatallahElKharbotly