```# [APL (Dyalog Unicode)], 18 bytes

<!-- language-all: lang-apl -->

(⍋-⍒)∘↑(⍎¨∊∘⎕D⊆⊢)¨

[Try it online!][TIO-jl4xia5i]

[APL (Dyalog Unicode)]: https://www.dyalog.com/
[TIO-jl4xia5i]: https://tio.run/##ZY5NCsIwEIXXnqQN2GESUpvsvUhB6qagWy9QSqWiguDaVc/Ro@QiMWl@GhGaMu97M49Xn9vicKnb01HrRnX3XI3XQo1Povq36h5G3uZJ9YOVt9deDZ0aPmSetDZuM095vs1YRsyfZoRsrKSAgH/IAWcFyID7Wzsm2xTKXSVk9JIbGpJYkhMYLddNAcgdFsADrQB9QAXipzAkHdF@Md9JpIuLbjd6TixThJz5KJ5Wl1KCeYvh5/WEoe0rfJZXxvwC "APL (Dyalog Unicode) – Try It Online"

Takes the input as an array of strings as the right argument. Outputs `¯1 1`, `0 0`, `1 ¯1` for `<`, `=`, `>` respectively.

`(⍎¨∊∘⎕D⊆⊢)¨` on each input

- `∊∘⎕D⊆⊢` group all occurrences of digits, that is, split on `.`

- `⍎¨` and convert each of these occurrences to a number

`↑` convert to a matrix, where the first input is on the top row and the second one in the bottom, padding with `0`s where necessary

`(⍋-⍒)∘` and

- `-` subtract
- `⍒` the indices of the rows sorted in descending order
- `⍋` from the indices of the rows sorted in ascending order```