SOA-2767 Fixed an error in the sorting of share actions, which should
result in fixing this issue.