Form and messages sort"