SortColumn event changes,added functionality changes

sortColumn event changes:before only selected header was passed as an argument with emit.now it will pass selected header as well as total headers
added code is reverted back as per suggestion

Signed-off-by: Jay Patel <jaypa@cybage.com>