Alarm Journal column sort order

When we click with Ctrl on alarm journal column name, we can manage the sort order (1,2,3,etc asc or desc)
Can we manage this with scripts ?

[attachment=0]sortAlarm2.jpg[/attachment]